package com.niiwoo.civet.mobile.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author xiaoyingping
 * @create 2017-12-15 15:01
 */
@Setter
@Getter
@ApiModel("提交资金划拨请求对象")
@ToString
public class SubmitAccountFundTransferVO {

    @ApiModelProperty(value = "转出账户角色, 2:投资账户 3:借款账户", required = true)
    @NotNull
    private Byte payAccountUserRole;

    @ApiModelProperty(value = "转入账户角色, 2:投资账户 3:借款账户", required = true)
    @NotNull
    private Byte receiveAccountUserRole;

    @ApiModelProperty(value = "划拨金额", required = true)
    @NotNull
    private BigDecimal amount;
}
